<!DOCTYPE html>
<html>
  <head>
    <title>Page 4</title>
    <link rel="stylesheet" href="/cypress/fixtures/styles.css"></link>
  </head>
  <body>
    <main>
      <h1>Page 4</h1>
      <p>I approve this message: <span id="content"></span></p>
    </main>

    <script>
      const params = new URLSearchParams(location.search)
      const content = document.querySelector('#content')

      content.textContent = params.get('text')
    </script>
  </body>
</html>
